package com.ouc.eddyAlgorithm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * gedyolo计算涡旋临时表对象 eddy_ged
 *
 * @author b504
 * @date 2023-02-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EddyGed extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 涡旋id
   */
  private Integer eddyId;

  /**
   * 涡旋类型
   * 偶数为暖涡
   * 奇数为冷涡
   */
  @Excel(name = "涡旋类型")
  private Integer eddyType;

  /**
   * 涡旋分数
   */
  @Excel(name = "涡旋分数")
  private Float eddyScore;

  /**
   * 涡旋日期
   */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "涡旋日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date eddyDate;

  /**
   * 涡旋半径
   */
  @Excel(name = "涡旋半径")
  private Float eddyRadius;

  /**
   * 涡旋经度
   */
  @Excel(name = "涡旋经度")
  private Float eddyLon;

  /**
   * 涡旋纬度
   */
  @Excel(name = "涡旋纬度")
  private Float eddyLat;

}
